{namespace i=TYPO3\CMS\Install\ViewHelpers}

<h3>Main system information</h3>
<table class="table table-striped table-bordered">
	<tr>
		<td>Operating system:</td>
		<td><strong>{operatingSystem}</strong></td>
	</tr>
	<tr>
		<td>PHP version:</td>
		<td><strong><i:constant name="PHP_VERSION" /></strong></td>
	</tr>
	<tr>
		<td>PHP CGI detected:</td>
		<td><strong>{f:if(condition:cgiDetected, then:'Yes', else:'No')}</strong></td>
	</tr>
	<tr>
		<td>Database name:</td>
		<td><strong>{databaseName}</strong></td>
	</tr>
	<tr>
		<td>Database username:</td>
		<td><strong>{databaseUsername}</strong></td>
	</tr>
	<tr>
		<td>Database host:</td>
		<td><strong>{databaseHost}</strong></td>
	</tr>
	<tr>
	<f:if condition="{databasePort}">
		<f:then>
			<td>Database port:</td>
			<td><strong>{databasePort}</strong></td>
		</f:then>
		<f:else>
			<td>Database socket:</td>
			<f:if condition="{databaseSocket}">
				<f:then>
					<td><strong>{databaseSocket}</strong></td>
				</f:then>
				<f:else>
					<td><em>default socket</em> </td>
				</f:else>
			</f:if>
		</f:else>
	</f:if>
	</tr>
	<tr>
		<td>Database tables:</td>
		<td><strong>{databaseNumberOfTables}</strong></td>
	</tr>
</table>
